<%@ page import="java.util.List"%>
<%@ page import="gmusic.bo.*"%>

<jsp:include page="include/entete.jsp" flush="true">
	<jsp:param name="titre" value="Groupe" />
	<jsp:param name="sousTitre" value="Ajouter un groupe" />
</jsp:include>

<%
	List<PaysBean> pays = (List<PaysBean>) session.getAttribute("pays");
%>

<form name="form" action="AjouterArtist.gm"
	onsubmit="return verifAjoutGroupe();" method="get">
<table align="center">
	<tr>
		<td id="cell3"><b>Nom : </b></td>
		<td><input type="text" name="nom" value="" maxlength="50"
			size="30" /></td>
	</tr>
	<tr>
		<td id="cell3"><b>Pays : </b></td>
		<td><select name="idPays" style="width: 203px">
			<%
				for (int i = 0; i < pays.size(); i++) {
					PaysBean pb = (PaysBean) pays.get(i);
			%>
			<option value="<%=pb.getId()%>"><%=pb.getNom()%></option>
			<%
				}
			%>
		</select></td>
	</tr>
	<tr>
		<td id="cell3"><b>Commentaire : </b></td>
		<td><textarea name="commentaire" style="width: 200px"></textarea></td>
	</tr>
	<tr align="center">
		<td colspan="2"><input type="submit" value="Ajouter" /></td>
	</tr>
	<tr>
		<td colspan="2">&nbsp;</td>
	</tr>
</table>
</form>

<jsp:include page="include/piedPage.jsp" flush="true" />
